package caffeinebeveragecase;

/**
 * description:
 *
 * @author Yuanml on 2020/10/19 12:11
 */
public class Client {
    public static void main(String[] args) {
        CaffeineBeverage caffeineBeverage =  null;
        System.out.println("-----------------制作茶饮料----------------");
        caffeineBeverage = new Tea("红茶");

        caffeineBeverage.prepare();

        System.out.println("-----------------制作咖啡饮料----------------");
        caffeineBeverage = new Coffee("卡布奇诺");
        caffeineBeverage.prepare();
    }
}
